home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection Student Program / ADC Tools Sampler CD Disk 3 1999.iso / Metrowerks CodeWarrior / Java Support / Java_Source / Java2 / src / javax / accessibility / Accessible.java next >
Encoding:
Java Source  |  1999-05-28  |  1.4 KB  |  41 lines  |  [TEXT/CWIE]

  1. /*
  2.  * @(#)Accessible.java    1.30 98/08/26
  3.  *
  4.  * Copyright 1997, 1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  *
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package javax.accessibility;
  16.  
  17. /**
  18.  * Interface Accessible is the main interface for the accessibility package. 
  19.  * All components that support
  20.  * the accessibility package must implement this interface.  
  21.  * It contains a single method, {@link #getAccessibleContext}, which  
  22.  * returns an instance of the class {@link AccessibleContext}.
  23.  *
  24.  * @version     1.1 11/24/97 20:34:48
  25.  * @author    Peter Korn
  26.  * @author      Hans Muller
  27.  * @author      Willie Walker
  28.  */
  29. public interface Accessible {
  30.  
  31.     /**
  32.      * Returns the AccessibleContext associated with this object.  In most
  33.      * cases, the return value should not be null if the object implements
  34.      * interface Accessible.  If a component developer creates a subclass
  35.      * of an object that implements Accessible, and that subclass
  36.      * is not Accessible, the developer should override the 
  37.      * getAccessibleContext method to return null.
  38.      */
  39.     public AccessibleContext getAccessibleContext();
  40. }
  41.